package com.siti.kindnessplatform.base.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Select;

import com.siti.kindnessplatform.base.po.DonateCount;

import tk.mybatis.mapper.common.Mapper;

public interface DonateCountMapper extends Mapper<DonateCount>{

	@Select("SELECT * FROM donate_count where CURRENT_TIMESTAMP() BETWEEN start_time and end_time")
	List<DonateCount> findDonateCount();
}
